﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Core.Service
{
    public interface INodeService<TEntity> : IService<TEntity>
        where TEntity : class
    {
        TEntity GetParent(int parentId);

        IList<TEntity> GetChildren(int parentId);
    }
}
